package com.jye.rseven.user.mapper;

import com.jye.rseven.domain.TyPtCode;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface TyPtCodeMapper {
    void addTy(@Param("ty") TyPtCode tyPtCode);

    void updatePtStatus(@Param("type2") int type2, @Param("pid")String pid);

    List<TyPtCode> findPtByUId(@Param("uId") int uId, @Param("skip") int skip,@Param("limit") int limit);

    TyPtCode findPtById(@Param("id") int id);

    int findUidById(@Param("id") int id);

    List<TyPtCode> findTyByPtCode(@Param("ptCode") String ptCode);
}
